#include<iostream>
#include<cstring>
using namespace std;
/*
* https://www.luogu.com.cn/problem/CF1324B
* 2024/7/18
* 21:29
* author:liuqx
*/
int main()
{
	int q_times;
	cin >> q_times;
	for (int index = 0; index < q_times; index++)
	{
		int num[5001];
		int len;
		cin >> len;
		for (int i = 0; i < len; i++)
		{
			cin >> num[i];
		}

	}
}